if (this.help || !this.bookmark) {
	usage('bookmark=<bookmark>');
} else {
	include('chrome://technika/content/technika.js');

	if (this.bookmark) {
		(new function () {
			var bookmarks = TH_getBookmarkList();

			for (var i = 0; i < bookmarks.length; i++) {
				var url = bookmarks[i].url;
				var name = TH_trimString(bookmarks[i].name);

				if (this.bookmark == name) {
					window.location = url;

					return;
				}
			}

			error("bookmarklet '" + this.bookmark + "' not found");
		});
	}
}
